StellarPay\Integrations\WooCommerce\Stripe\Services\CustomerService S

Total Complexity 21
Dependencies 12
Dependents 2
Total lines 257
Lines of code 108
Logical lines of code 61
Comment lines 89
Methods 11
Properties 4

Methods 11

Method Rating Maintainability Complexity Lines of code
retrieveCustomerId()
S
56 5 20
getOrCreateCustomerForRegisteredUser()
S
62 3 12
getCustomerIdByGuestEmailForRegisteredUser()
S
61 2 15
getOrCreateCustomerForGuest()
S
61 2 13
updateCustomer()
S
62 2 11
createOrUpdate()
S
68 2 7
createCustomerForRegisteredUser()
S
64 1 11
__construct()
S
74 1 5
createCustomerForGuest()
S
71 1 6
createCustomer()
S
80 1 3
getCustomerDto()
S
73 1 5